package com.edu.bean;

/*
*       方式二:扩展类
*           在订单的基础之上 额外的显示 与之相关的用户的信息
* */
public class OrderVO extends Order{

    private String username;

    private String password;

    private String realName;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    @Override
    public String toString() {
        return "OrderVO{" +
                super.toString()+
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                '}';
    }
}

